<?php
$sett = & acfg::$pages[ 'mythemes-underconstruction' ][ 'content' ];
{   /* UNDER CONSTRUCTION SETTINGS */

    $sett[ 'title-under-construction' ] = array(
        'type' => array(
            'template' => 'code'
        ),
        'title' => __( 'Under Construction Settings' , 'myThemes' )
    );
    
    $sett[ 'use-under-construction' ] = array(
        'type' => array(
            'template' => 'inline',
            'input' => 'logic'
        ),
        'label' => __( 'Use under construction template' , "myThemes" ),
        'action' => "{'t' : '.mythemes-under-construction' , 'f' : '-' }"
    );
    
    if( (boolean)myThemes::pget( 'use-under-construction' ) ){
        $classes = 'mythemes-under-construction';
    }
    else{
        $classes = 'mythemes-under-construction hidden';
    }
    
    $sett[ 'twitter' ] = array(
        'type' => array(
            'template' => 'inline',
            'input' => 'text',
            'validator' => 'url'
        ),
        'templateClass' => $classes,
        'label' => __( 'Twitter profile url' , "myThemes" ),
        'hint' => __( 'if you want to display twitter icon on front page'  , "myThemes" )
    );

    $sett[ 'facebook' ] = array(
        'type' => array(
            'template' => 'inline',
            'input' => 'text',
            'validator' => 'url'
        ),
        'templateClass' => $classes,
        'label' => __( 'Facebook url' , "myThemes" ),
        'hint' => __( 'if you want to display on front page'  , "myThemes" )
    );

    $sett[ 'email' ] = array(
        'type' => array(
            'template' => 'inline',
            'input' => 'text'
        ),
        'templateClass' => $classes,
        'label' => __( 'E-mail'  , "myThemes" ),
    );
    
    $sett[ 'feedburner' ] = array(
        'type' => array(
            'template' => 'inline',
            'input' => 'text'
        ),
        'templateClass' => $classes,
        'label' => __( 'Email feed Subscription'  , "myThemes" ),
        'hint' => __( 'Fill with Google FeedBurner account ex : ' , "myThemes" ) . 'http://feeds.feedburner.com/<strong>mythem_es</strong>'
    );

    $sett[ 'rss' ] = array(
        'type' => array(
            'template' => 'inline',
            'input' => 'logic'
        ),
        'templateClass' => $classes,
        'label' => __( 'You want display Rss Feed' , "myThemes" )
    );
}
?>